import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
import getters from './getters'
import tagsView from './modules/tagsView'
import selected from './modules/selected'
import resource from './modules/resource'
import dataDic from './modules/dataDic'
import file from './modules/file'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    user,
    tagsView,
  	selected,
  	resource,
  	dataDic,
  	file
    },
  getters
})

export default store
